require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

platform :ios, '11.0'

#屏蔽cocoapods中的警告
inhibit_all_warnings!

source 'https://github.com/CocoaPods/Specs.git'
source 'https://gitee.com/MAndIos/IPodSpce.git'

target 'ZZmetro‘ do
    config = use_native_modules!

    use_react_native!(
    :path => config[:reactNativePath],
    # to enable hermes on iOS, change `false` to `true` and then install pods
    :hermes_enabled => false
    )


    # Enables Flipper.
    #
    # Note that if you have use_frameworks! enabled, Flipper will not work and
    # you should disable the next line.
    use_flipper!()

    post_install do |installer|
    react_native_post_install(installer)
    end

    pod 'AFNetworking', '~> 4.0'
    pod 'IQKeyboardManager', '~> 6.0.4'
    pod 'Masonry', '~> 1.1.0'
    pod 'MJRefresh', '~> 3.1.15.3'
    pod 'SDWebImage', '~> 5.0.0'
    pod 'FLAnimatedImage', '~> 1.0.12'
    pod 'WMPageController', '~> 2.5.2'
    pod 'TYPagerController', '~> 2.1.2'
    pod 'ReactiveObjC', '~> 3.1.0'
    pod 'CTMediator', '~> 25'
    pod 'SDCycleScrollView', '1.80'
    pod 'STPopup'
    
    #private lib
    pod 'IBase', '~> 1.0.2'
    pod 'IWidget'
    pod 'HttpNetwork', '1.0.7'


end


